@import url("fonts.css");
@import url("responsive.css");
@import url("bootstrap-override.css");
@import url("animation.css");

html, body {
    height: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    overflow: hidden;
}

body {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 0;
    margin-bottom: 60px;
}

/*@group Helper Classes */
.forefront {
    z-index: 1024 !important;
}

* {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
}

.scrolling {
    -webkit-overflow-scrolling: touch;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.pressed, .pressed:hover {
    color: rgb(0, 133, 255);
}

.opaque {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity = 0);
    opacity: 0;
}

.hide {
    display: none !important;
}

.clear-both {
    clear: both;
}

/* @end */
/*
 * @group loadingModal
 */
#loadingModal {
    position: absolute;
    color: #DDD;
    background-color: transparent;

    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    border: none;
}

#loadingModal.modal {
    position: absolute;
    margin: 0 0 0 0;
    overflow: visible;
    width: 250px;
    top: 40%;
    left: 40%;
}

/* @end */
/*
 * @group App formatting
 */
#idox-logo {
    padding: 4px 10px 4px 0;
}

#app-header {
    position: relative;
    top: 0;
    width: 100%;
    z-index: 1025;
}

.menu-btn, .btn-prev, .btn-next {
    font-size: 25px;
    padding-left: 5px;
    padding-right: 5px;
    display: inline;
    vertical-align: middle;
    line-height: 40px;
}

#app-body {
    position: absolute;
    width: 100%;
    bottom: 45px;
    top: 45px;
    right: 0;
    left: 0;
    padding-left: 0;

    -ms-overflow-y: scroll;
    overflow-y: scroll;
}

/* panels hold sections which can slide on/off screen*/
.panel {
    background-color: #333;
    position: absolute;
}

#app-header, #app-footer, .panel {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; /* prevent iOS devices being able to select elements*/
    -webkit-touch-callout: none; /* prevents additional menus appearing eg. save image, open in new tab */
}

#app-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    margin-bottom: 0;
}

/* bottom buttons which control the swipe pages*/
/* header buttons */
#dashboard-slider-tabs, #top-buttons {
    overflow: hidden;
    line-height: 45px;
}

#top-buttons.stage-right {
    -webkit-transform: translateX(70%);
    -moz-transform: translateX(70%);
    -o-transform: translateX(70%);
    -ms-transform: translateX(70%);
    transform: translateX(70%);
    position: absolute;
    right: 0;
    z-index: 1024;
}

/* @end */
/*
 * @group Pages
 * Pages hold sections of the app
 */
.page, .page-inline {
    display: none; /* by default all are hidden */
}

.page-inline.current {
    display: inline-block; /* only become visible when .current class is attached*/
}

.page.current {
    display: block !important;
}

/*@end*/
/*
 * @group Menu Bar Simple Search
 */
#simple-search, #simple-search form {
    display: inline;
}

input.search-query::-webkit-input-placeholder {
    font-family: icomoon, serif;
    text-align: right;
}

#simple-search input:-moz-placeholder {
    font-family: icomoon, serif;
    text-align: right;
}

#simple-search input.search-query {
    width: 75%;
    max-width: 220px;
}

/* @end */
/*
 * @group Advanced Search
 */
#advanced-search {
    left: 0;
    padding: 0 0 20px 0;
    width: 100%;

    -ms-overflow-y: auto;
    overflow-y: auto;
    border-bottom: solid #000 10px;
    min-height: 250px;
}

#advanced-search-inner-wrapper {
    width: 100%;
}

#advanced-search input, #advanced-search select {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* @end */
/*
 * @group Search Results
 */
.search-page .thumbnails {
    max-width: 91%;
    margin-left: -55px; /* offset the thumbnails to partially show next results */
}

.search-page.active .thumbnails {
    margin-left: 0; /* center the thumbnails on screen*/

    -webkit-transform: translate3d(60px, 0, 0);
    -moz-transform: translate3d(60px, 0, 0);
    -o-transform: translate3d(60px, 0, 0);
    -ms-transform: translate3d(60px, 0, 0);
    transform: translate3d(60px, 0, 0);

    -webkit-transition: translate3d .1s linear;
    -moz-transition: translate3d .1s linear;
    -o-transition: translate3d .1s linear;
    -ms-transition: translate3d .1s linear;
    transition: translate3d .1s linear;
}

.search-page.active {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity = 100);
    opacity: 1;
    /*full
     /*partial
 }

 .search-controls  {

     text-align:  center;

 }

 #search-results-swipe  {

     height:  100%;

     /*make the swipe touch target full height of page*/
}

/* @group Search Bulelts */
#search-results-bullets em.on {
    color: white;
}

#search-results-bullets em {
    display: inline-block;
    padding: 0 3px;
    font-style: normal;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .35);
    font-family: sans-serif;
    font-size: 40px;
    vertical-align: middle;
    line-height: 1;
}

body.search-results #search-results-bullets {
    display: inline-block;
}

/* @end */
.search-result-page, #search-results, #search-results ul {
    height: 100%;
}

.grid-view, .list-view {
    -webkit-transition: -webkit-transform .2s linear;
    -moz-transition: -moz-transform .2s linear;
    -o-transition: -o-transform .2s linear;
    -ms-transition: -ms-transform .2s linear;
    transition: transform .2s linear;
}

/*
 * @group Individual Search result styling for grid view
 */
.search-result {
    border: solid 1px;
    padding: 5px;
    margin: 10px 10px 0 0;
    height: auto;
    min-width: 200px;
    text-align: left;
}

.search-result:active {
    background-color: #0085ff;
}

.search-result span {
    display: block;
}

.search-result img {
    padding: 5px;
    width: 90px;
}

.search-result span:after {
    clear: both;
}

.search-result .thumb-title {
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    margin: 0;
}

.thumb-title h2 {
    margin: 0;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    font-size: 20px;
}

/* @end */
/* @end */
/*
 * @group Filter
 */
#filter {
    color: #fff;
}

/* @end */
/*
 * @group profile
 */
#profile {
    left: 0;
    border-right: solid 5px #000;
    color: #fff;
}

#profile, #messages-window {
    top: 45px;
    bottom: 0;
    width: 40%;
    overflow: hidden;
}

/*@end*/
/*@group Messages*/
/*@group Messages-Window*/
#messages-window {
    right: 0;
    border-left: solid 5px #000;
}

#messages-window.full-width {
    width: 100%;
}

.full-screen-button {
    font-size: 20px;
    line-height: 40px;
}

.messages-window-header {
    -webkit-box-shadow: rgba(0, 0, 0, 0.246094) 0 1px 3px 0, rgba(0, 0, 0, 0.0976563) 0 -1px 0 0 inset;
    box-shadow: rgba(0, 0, 0, 0.246094) 0 1px 3px 0, rgba(0, 0, 0, 0.0976563) 0 -1px 0 0 inset;
    background-color: rgb(44, 44, 44);

    background-image: -webkit-linear-gradient(top, rgb(51, 51, 51), rgb(34, 34, 34));
    background-image: -moz-linear-gradient(top, rgb(51, 51, 51), rgb(34, 34, 34));
    background-image: -o-linear-gradient(top, rgb(51, 51, 51), rgb(34, 34, 34));
    background-image: -ms-linear-gradient(top, rgb(51, 51, 51), rgb(34, 34, 34));
    background-image: linear-gradient(top, rgb(51, 51, 51), rgb(34, 34, 34));
    color: rgb(153, 153, 153);
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    height: 40px;
}

#messages-wrapper {
    padding-left: 0;
    padding-right: 0;
    bottom: 50px;
    position: absolute;
    top: 40px;

    -ms-overflow-y: scroll;
    overflow-y: scroll;
}

/*@end*/
/*@group Messages Reply field*/
.message-reply {
    margin: 5px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #333;
    padding-top: 5px;
}

#message-reply-field {
    width: 80%;
    float: left;
    height: 20px;
    -webkit-resize: none;
    -moz-resize: none;
    resize: none;

    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -o-transition: height 0.3s;
    -ms-transition: height 0.3s;
    transition: height 0.3s;

    -ms-overflow-y: hidden;
    overflow-y: hidden;
    max-height: 140px;
    border-radius: 1px;
}

#message-reply-button {
    width: 15%;
}

/*@end*/
/*@group Message Body*/
.message {
    margin: 10px;
    padding: 10px;
    border-top: solid 1px #fff;

    -webkit-transition: opacity .2s linear;
    -moz-transition: opacity .2s linear;
    -o-transition: opacity .2s linear;
    -ms-transition: opacity .2s linear;
    transition: opacity .2s linear;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity = 100);
    opacity: 1;
}

.message-body {
    clear: both;
}

.to {
    text-align: right;
    background-color: #BBB;
}

.from {
    background-color: #417fcd;
}

/*@end*/
/*@end*/
/* @group Full-Doc */
#full-document-image {
    min-height: 200px;
}

#full-document-page {
    position: absolute;
    width: 100%;
    height: 100%;
}

#full-document {
    height: 100%;

    -ms-overflow-y: scroll;
    overflow-y: scroll;
}

/*loading text behind image*/
span.loading-bg {
    position: absolute;
    font-size: 50px;
    top: 25%;
    width: 100%;
    text-align: center;
}

div.tab-pane:target, :target div.tab-pane {
    display: block;
}

.nav-tabs > li:active a {
    color: #555;
    cursor: default;
    background-color: white;
    border: 1px solid #DDD;
    border-bottom-color: transparent;
}

#search-results-side-wrapper {
    width: 20%;
    height: 100%;

    -ms-overflow-y: scroll;
    overflow-y: scroll;
}

#search-results-side .search-result.doc-icon {
    width: 90%;
}

#search-results-side .search-result img {
    height: 100px;
    width: auto;
}

/*@end*/
/* @group Helper*/
.search-result,
.btn-prev,
.btn-next,
#search-results-bullets em,
i.full-screen-button:hover,
.menu-btn,
table.list-view tr {
    cursor: pointer;
}

body.full-doc #app-footer, #search-button, :target div.tab-pane + div.tab-pane, .search-results #dashboard-slider-tabs, #search-results-bullets {
    display: none;
}

body.full-doc #app-body {
    bottom: 0;
}

/*@end*/
/* wdiget*/
.widget {
    background-color: #0066ee;
    font-size: 50px;
    text-align: center;
    vertical-align: middle;
    height: 250px;
    width: 250px;
    line-height: 250px;
    display: inline-block;
}

.widget ul, .widget ul > li {
    height: 100%;
    line-height: 250px;
}
